Post

Replies

Boosts

Views

Activity

Reply to What does this error mean: Type '() -> cannot conform to 'View'?
You can solve this warning by using '(' instead of '{' Here is an example : struct CircleImage: View {   var body: some View {     Image("turtlerock")       .clipShape(Circle())       .overlay(Circle().stroke(Color.white, lineWidth: 4))       .shadow(radius: 7)   } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22